-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Scopes filtering to jar added in the spring boot jar #590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
My use case: a module generate a spring-boot jar which is zipped in an assembly with a javaagent but as the javaagent is declared as a dependency it's included in the spring boot jar which I don't want
Thanks, have you signed the contributors agreement? |
See also #413 |
I don't remember for the cla. I probably did that long time ago for other projects. |
There is a |
my bad just fixed that |
do not need that. I will use an other module to make my distrib this will ease my use case. |
For the record, I discussed this with Olivier and recommended an exclude approach instead. He wants to exclude one particular dependency that he has flagged as There are a few ways to exclude dependencies, the |
Too bad, it would have been useful in GWT context. |
@gordon00 This issue has been closed for over a year, please raise a new request if you think things can be improved. We need to include provided scope dependencies to make fully executable wars. If you're happy deploying to tomcat you could just set Also please don't cross-post comments. I'm going to delete the same comment that you added to #413. |
No, I really want to use the plugin to generate a standalone jar including tomcat. <excludes>
<eclude>
<groupId>com.google.gwt.inject</groupId>
<artifactId>gin</artifactId>
<excludeTransitively>true</excludeTransitively>
</excludes> |
@gordon00 This is just adding noise to the closed issue. Please open a new one. Use three backticks to escape XML . |
I'd like to filter the jar included in the spring boot one based on the scope.